package com.example.blog.util;

/**
 * @Classname CodeUtil
 * @Description TODO
 * @Version 1.0.0
 * @Date 2023/3/7 11:14
 * @Created by wlh12
 */
public class CodeUtil {
    public static String createNumberCode(int count){
        String code = String.valueOf((int)((Math.random()*9+1) * Math.pow(10,count-1)));
        return code;
    }
}
